package com.cc.bill.dao;

import com.cc.bill.entity.SubmitBillEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cc.bill.vo.SubmitBillVo;
import com.cc.bill.vo.WebBillVo;
import com.cc.user.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

/**
 * 
 * 
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-12-11 15:02:33
 */
@Mapper
public interface SubmitBillDao extends BaseMapper<SubmitBillEntity> {

    List<SubmitBillVo> getSubmitBillByTime(Long uid, Date startTime, Date stopTime, Integer billStatus);

    UserEntity getUserByUid(Long uid);

    List<SubmitBillEntity> getBillList(int billStatus, String startTime, String stopTime);
}
